package com.culturalCenter.dataCenter.service.user;

import com.culturalCenter.dataCenter.entity.user.UserDayNumber;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserDayNumberService {

    /**
     * UserDayNumber分页查询
     *
     * @param page
     * @param size
     *
     * @return
     */
    PageInfo<UserDayNumber> findPage(int page, int size);

    /**
     * 删除UserDayNumber
     *
     * @param id
     */
    Integer delete(String id);

    /**
     * 修改UserDayNumber数据
     *
     * @param userDayNumber
     */
    Integer update(UserDayNumber userDayNumber);

    /**
     * 新增UserDayNumber
     *
     * @param userDayNumber
     */
    Integer add(UserDayNumber userDayNumber);

    /**
     * 根据ID查询UserDayNumber
     *
     * @param id
     *
     * @return
     */
    UserDayNumber findById(String id);

    /**
     * 查询所有UserDayNumber
     *
     * @return
     */
    List<UserDayNumber> findAll(UserDayNumber userDayNumber);

}
